package com.voyage.generator.model;


import com.sun.istack.internal.NotNull;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author: kangb on 2021/10/13 19:22
 * @param:
 * @return:
 * @Description: 代码生成规则
 */
@Data
public class PrincipleMO {


    @NotNull
    @ApiModelProperty(value = "表名称")
    private String tableName;

    @NotNull
    @ApiModelProperty(value = "作者")
    private String author;

    @NotNull
    @ApiModelProperty(value = "模块名称")
    private String moduleName;

    @NotNull
    @ApiModelProperty(value = "包路径")
    private String pack;

    @NotNull
    @ApiModelProperty(value = "接口前缀")
    private String apiAlias;

    @ApiModelProperty(value = "是否覆盖")
    private Boolean cover = false;

    @ApiModelProperty(value = "列信息")
    private ColumnInfo columnInfo;

}
